Fix error output to stderr in xc_linux_build.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 12 Oct 2005 15:42:35 +0000 (16:42 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 12 Oct 2005 15:42:35 +0000 (16:42 +0100)
Signed-off-by: Scott Parish <srparish@us.ibm.com>
tools/libxc/xc_linux_build.c

index 9ed257edf3162efd7f75253d844ab4571586e23c..5cdb568bc0126bc48e9add73bb7c9a1a942382b2 100644 (file)
@@ -502,7 +502,7 @@ static int setup_guest(int xc_handle,
 
     if ( ((v_end - dsi.v_start)>>PAGE_SHIFT) > nr_pages )
     {
-        printf("Initial guest OS requires too much space\n"
+        PERROR("Initial guest OS requires too much space\n"
                "(%luMB is greater than %luMB limit)\n",
                (v_end-dsi.v_start)>>20, nr_pages>>(20-PAGE_SHIFT));
         goto error_out;